<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="X-UA-Compatible" content="IE=8"/>
		<title>公众平台管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/app.v2.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/metro.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/tiles.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/iphone-checkbox.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery-ui.js"></script>
<SCRIPT type="text/javascript" src="__PUBLIC__/js/iphone-style-checkbox.js"></SCRIPT>
<script src="__PUBLIC__/js/jquery.freetile.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<!--[if lt IE 9]>
	<script type="text/javascript" src="__PUBLIC__/js/respond.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/html5shiv.js"></script>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->


		<script type="text/javascript" src="__PUBLIC__/js/highcharts/highcharts.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/ajaxfileupload.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/lottery.js"></script>
 		<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
		<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=fZgHFh3X8vkyS4T7EMEyNtZx"></script>
		<script type="text/javascript">
			var interval;
		 	$(function(){
		 		$('#aside_nav ul li a').click(function(){
		 			var url=$(this).attr('url');
		 			if(url){
		 				showLoading('加载中...','__PUBLIC__/img/loading1.gif');
			 			$.get(url+"?ts="+new Date().getTime(),function(html){
			 				$("#main_content").html(html);
			 				hideLoading();
			 			});
			 			$('#aside_nav ul li a.active').removeClass('active');
			 			$(this).addClass('active');
		 			}else{
		 				var subs=$(this).parent().find('.sub');
		 				if(subs.size()>0){
		 					var sub=$(subs.get(0));
		 					if(sub.css('display')=='none'){
		 						sub.toggle("blind");
		 						$(this).find('.right').removeClass("fa-angle-right").addClass("fa-angle-down");
		 					}else{
		 						sub.toggle("blind");
		 						$(this).find('.right').removeClass("fa-angle-down").addClass("fa-angle-right");
		 					}
		 				}
		 				
		 			}
		 		});
		 		$($('#aside_nav ul li a').get(0)).click()
		 		
		 	});
		</script>
	 	 
	</head>
	<body>
		<!-- 头部 -->
		<div id="header" class="header" style="">
		<div class="navigator">
	<div class='logopane' >
		<img style=";margin-left: 10px;position: absolute;top: 5px;" width="40px" src='__PUBLIC__/img/oper_weixin.png'/>
		<span style="font-size:24px;color:#fff;left:50px;position: absolute;top: 5px;">公众平台接入管理</span>
	</div>
	<ul class="textLarge">
	<?php if(is_array($menuList)): $i = 0; $__LIST__ = $menuList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$m): $mod = ($i % 2 );++$i;?><li>
			<a href='<?php echo U("m.menu/index");?>'><i class="fa fa-home"></i><?php echo ($m["title"]); ?></a>
		</li><?php endforeach; endif; else: echo "" ;endif; ?>
		
		<li>
			<a href='<?php echo U("Manage/index");?>'><i class="fa fa-home"></i>首页</a>
		</li>
		<li>
			<a href='<?php echo U("Rbac/index");?>'><i class="fa fa-cogs"></i>系统管理</a>
		</li>
		<li>
			<a href='<?php echo U("Message/material");?>'><i class="fa fa-picture-o"></i>素材管理</a>
		</li>
		<li>
			<a href='<?php echo U("Reply/index");?>'><i	class="fa fa-comments-o"></i>消息回复</a>
		</li>
		<li>
			<a href='<?php echo U("WxMenu/index");?>'><i class="fa fa-list-ul"></i>自定义菜单</a>
		</li>
		<li>
			<a href='/sms/index.json' target="_blank"><i
				class="fa fa-comment"></i>实时消息</a>
		</li>
	</ul>
	<ul class="textLarge" style="float: right;;">
		<li style="width: 50px;border-left: 1px solid rgba(0,0,0,0.2);font-size: 16px;">
			<a href='/manager/setting.json'><i	class="fa fa-cog"></i></a>
		</li>
		<li  style="width: 50px;border-left: 1px solid rgba(0,0,0,0.2);font-size: 16px;">
			<a href='<?php echo U("Index/logout");?>'><i	class="fa fa-power-off"></i></a>
		</li>
	</ul>
</div>
		</div>
		<div class="slimScrollDiv" style="width: 250px;height: 100%;">
			<aside id="left_panel" class='sidebar'>
			<div class="user-profile media innerAll" style="padding: 15px;border-bottom: 1px solid #2C2C2C">
				<a class="pull-left" href="">
					<img src="__PUBLIC__/img/default.png" class='img-circle' >
				</a>
				<div class="media-body">
					<a class="strong" >username</a>
					<p class="text-success">会员</p>
				</div>
				<ul>
					<li class="active"><a href=""><i class="fa fa-bell"></i></a></li>
					<li><a href=""><i class="fa fa-envelope"></i></a></li>
					<li><a href=""><i class="fa fa-lock"></i></a></li>
				</ul>
			</div>
			<nav id="aside_nav">
			<ul>
				<li>
					<a url="<?php echo U('Manage/sumary');?>">信息概览<i class="fa fa-angle-right right" ></i></a>
				</li>
			</ul>
			</nav>
			</aside>
		</div>
		<div id="main_content">

		</div>

		<!-- 底部 -->
		<div id="footer" class="footer">
		</div>
		<div id='msgTip' class='alert alert-success'></div>
		<div id='loading' align="center">
			<div class="content" align="center">
				<div class="ball"></div>
				<div class="ball1" style="margin-top: 10px"></div>
			</div>
		</div>
	</body>
</html>